krb5: build as C11
authorRosen Penev <[email protected]>
Mon, 4 Aug 2025 22:29:35 +0000 (15:29 -0700)
committerTianling Shen <[email protected]>
Mon, 11 Aug 2025 09:13:06 +0000 (17:13 +0800)
Fixes compilation with GCC 15.

The upstream patch fixing compilation is way too huge to backport.

Signed-off-by: Rosen Penev <[email protected]>
net/krb5/Makefile

index 79385065004d012d278bdd3b0f7fc0623f0dd33c..f9718bb1df52a4942f2479402b4d02d22273d2a0 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=krb5
 PKG_VERSION:=1.21.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=W. Michael Petullo <[email protected]>
 
@@ -107,6 +107,8 @@ define Build/InstallDev
        $(LN) ../../usr/bin/krb5-config $(2)/bin/krb5-config
 endef
 
+TARGET_CFLAGS += -std=gnu11
+
 define Package/krb5-libs/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_DIR) $(1)/usr/lib/krb5